package com.biostime.dingdingbox.modules.db.entity;

import com.biostime.dingdingbox.common.persistence.DataEntity;


/**
 * 评论Entity
 * @author chenweicheng
 * @version 2016-06-29
 */
public class Comment extends DataEntity<Comment> {

	private static final long serialVersionUID = 1L;
	
	private String category;// 分类
	private int objectId;// 评论关联对象编号
	private int isReply;// 是否回复
	private double score;// 总评分
	private double score1;// 评分1
	private double score2;// 评分2
	private double score3;// 评分3
	private String content;// 内容
	private int replyId;// 评论人
	private String replyName;// 评论人名字
	private String fromIp;// 来源IP
	private int parentId;// 父级评论ID
	private int isAudit;// 是否审核
	private PlatformMember platformMember;//平台会员
	private String objectName;//评论对象名称
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public int getObjectId() {
		return objectId;
	}
	public void setObjectId(int objectId) {
		this.objectId = objectId;
	}
	public int getIsReply() {
		return isReply;
	}
	public void setIsReply(int isReply) {
		this.isReply = isReply;
	}
	public double getScore() {
		return score;
	}
	public void setScore(double score) {
		this.score = score;
	}
	public double getScore1() {
		return score1;
	}
	public void setScore1(double score1) {
		this.score1 = score1;
	}
	public double getScore2() {
		return score2;
	}
	public void setScore2(double score2) {
		this.score2 = score2;
	}
	public double getScore3() {
		return score3;
	}
	public void setScore3(double score3) {
		this.score3 = score3;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getReplyId() {
		return replyId;
	}
	public void setReplyId(int replyId) {
		this.replyId = replyId;
	}
	public String getReplyName() {
		return replyName;
	}
	public void setReplyName(String replyName) {
		this.replyName = replyName;
	}
	public String getFromIp() {
		return fromIp;
	}
	public void setFromIp(String fromIp) {
		this.fromIp = fromIp;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public int getIsAudit() {
		return isAudit;
	}
	public void setIsAudit(int isAudit) {
		this.isAudit = isAudit;
	}

	public Comment(){
		super();
	}

	public Comment(String id){
		super(id);
	}
	public PlatformMember getPlatformMember() {
		return platformMember;
	}
	public void setPlatformMember(PlatformMember platformMember) {
		this.platformMember = platformMember;
	}
	public String getObjectName() {
		return objectName;
	}
	public void setObjectName(String objectName) {
		this.objectName = objectName;
	}	
	
	
}